#ifndef UTILS_H
#define UTILS_H

#include <iostream>

extern "C" {

    #include "wireguard.h"

}

class utils
{
public:
    utils();
    char * deviceName[32];
    wg_device * getDeviceBYName(const char * deviceName );
    std::string wgKey2Base64(const wg_key key);
    int numOfIF;
    void addInterFace( const std::string name);
    ~ utils();
private:
    char * keystring;
};

#endif // UTILS_H
